/**
 * 
 */
package com.sms.dataservice.impl;

import java.util.List;

import com.sms.business.User;
import com.sms.dataservice.AbstractDataService;
import com.sms.dataservice.UserDataService;

/**
 * @author Sahdev Kamboj
 *
 */
public class UserDataServiceImpl extends AbstractDataService<User> implements UserDataService {

	@Override
	public void saveUser(User user) throws Exception {
		save(user);		
	}

	@Override
	public List<User> getUsers() {
		return findAll();
	}

	@Override
	protected Class<User> getReferenceClass() {
		return User.class;
	}

}
